import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  container: {
    flex: 1,
    marginTop: px2dp(10),
  },
  new_list_one_img: {
    paddingLeft: px2dp(41),
    paddingRight: px2dp(38),
    flexDirection: 'row',
    alignItems: 'center',
    marginBottom: px2dp(29),
  },
  new_cover: {
    width: px2dp(202),
    height: px2dp(118),
    backgroundColor: '#f7f7f7',
  },
  new_info_no_img: {
    flex: 1,
    justifyContent: 'space-between',
  },
  new_info: {
    flex: 1,
    height: px2dp(118),
    marginLeft: px2dp(17),
    justifyContent: 'space-between',
  },
  new_title: {
    color: '#333',
    fontSize: px2dp(24),
    lineHeight: px2dp(34),
  },
  new_time: {
    color: '#333',
    fontSize: px2dp(17),
  },
  new_time_no_img: {
    color: '#333',
    fontSize: px2dp(17),
    marginTop: px2dp(16),
  },
  more_img_container: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    marginVertical: px2dp(14),
  },
  new_list_more_img: {
    paddingLeft: px2dp(41),
    paddingRight: px2dp(38),
    marginBottom: px2dp(29),
  },
  tabs_container: {
    flexDirection: 'row',
    height: px2dp(68),
  },
  btn: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  btn_text: {
    color: '#333333',
    fontSize: px2dp(26),
  },
  btn_text_selected: {
    color: '#EB0029',
    fontWeight: 'bold',
  },
  selected: {
    width: px2dp(24),
    height: px2dp(5),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(3),
    position: 'absolute',
    bottom: 0,
    left: '50%',
    marginLeft: px2dp(-12),
  },
});

export default styles;
